package com.liqi.display.mapper;

import com.liqi.display.entity.TblHandoutarchive;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2021-06-24
 */
public interface TblHandoutarchiveMapper extends BaseMapper<TblHandoutarchive> {

	/**
	 * 查询放件数量
	 * 
	 * @param map
	 * @return
	 */
	int lateTen(Map<String, Object> map);
	
	/**
	 * 查询取件数量和回收数量，receiveType如果是PUBLIC说明是群众，如果是STAFF说明是业务员回收
	 * 
	 * @param map
	 * @return
	 */
	int receiveNumber(Map<String, Object> map);

	int totalMonth(Map<String, Object> map);
}
